home *** CD-ROM | disk | FTP | other *** search
/ Cre@te Online 2000 December / Cre@teOnline CD05.iso / MacSoft / XML ConsoleMax.sea / XML ConsoleMax / Required / sox / com / commerceone / CBL / n1_0 / PricingData.sox < prev    next >
Encoding:
Extensible Markup Language  |  2000-07-03  |  3.2 KB  |  110 lines  |  [TEXT/ttxt]

  1. <?xml version="1.0"?>
  2. <!DOCTYPE schema SYSTEM "urn:x-commerceone:document:com:commerceone:xdk:xml:schema.dtd$1.0">
  3.  
  4. <schema uri="urn:x-commerceone:document:com:commerceone:CBL:CBL.sox$1.0">
  5.  
  6. <intro>
  7. <p>Copyright Notice</p>
  8. <p>Common Business Library 2.0<br/>
  9. Copyright 1999 Commerce One, Inc.</p>
  10. <p>Permission is granted to use, copy, modify and distribute the DTD's, schemas
  11. and modules in the Commerce One Common Business Library Version 2.0 subject to the terms
  12. and conditions specified at http://www.marketsite.net/xml/cbl/copyright.html</p> 
  13. </intro>
  14.  
  15. <!-- 
  16. Pricing Data Document
  17.  -->
  18.  
  19. <!--  Enumeration of all C1 supported Pricing Types  -->
  20. <datatype name="PricingTypeOptions" >
  21.     <enumeration datatype="string">
  22.         <option>FixedPrice</option>
  23.         <option>CostPlus</option>
  24.         <option>DiscountFromListPrice</option>
  25.         <option>NoCost</option>
  26.     </enumeration>
  27. </datatype>
  28.  
  29.  
  30. <!--  PricingData is the base class for all pricing rules. An instance of PricingData
  31.      contains all information necessary to construct a C1 supported Pricing Rule. 
  32.   -->
  33. <elementtype name="PricingData">
  34.     <model>
  35.         <sequence>
  36.  
  37.             <!--  The pricing rule type.
  38.                  Note: For REOS replacement, always=FixedPrice 
  39.              -->
  40.             <element type="PricingTypeOptions"    name="PricingType" />
  41.  
  42.             <!--  For FixedPrice: UnitPrice = Contract Price
  43.                For CostPlus: UnitPrice = Cost
  44.                For DiscountFromListPrice: UnitPrice = List Price
  45.                For NoCost: UnitPrice = 0.0
  46.              -->
  47.             <element type="Money"        name="UnitPriceInfo"  />
  48.  
  49.             <!--  The current list price  -->
  50.             <element type="Money"        name="ListPriceInfo"  />
  51.  
  52.             <!--  For FixedPrice: PriceModifier = 1.0
  53.                For CostPlus: PriceModifier = Markup (e.g. 1.5 for a 50% markup)
  54.                For DiscountFromListPrice: PriceModifier = Markdown (e.g. 0.80 for a 20% markdown)
  55.                For NoCost: PriceModifier = 0.0
  56.              -->            
  57.             <element type="double"        name="PriceModifier"  />
  58.  
  59.         </sequence>
  60.     </model>
  61. </elementtype>
  62.  
  63. <!--  Represents the information for a pricing rule that is tied to a contract  -->
  64. <elementtype name="ContractPricingData">
  65.     <extends type="PricingData">
  66.     <append>
  67.  
  68.             <!--  The pricing contract (Start Date, End Date) for this Pricing Rule -->
  69.             <element type="Contract" />
  70.  
  71.     </append>
  72.     </extends>
  73. </elementtype>
  74.  
  75. <!--  Enumeration of all C1 supported Tiered Pricing Types  -->
  76. <datatype name="TierTypeOptions" >
  77.     <enumeration datatype="string">
  78.         <option>QuantityTier</option>
  79.         <option>DollarTier</option>
  80.     </enumeration>
  81. </datatype>
  82.  
  83.  
  84. <!--  Represents the information for a tiered pricing rule that is tied to a contract  -->
  85. <elementtype name="TieredContractPricingData">
  86.     <extends type="PricingData">
  87.     <append>
  88.  
  89.             <!--  The pricing contract (Start Date, End Date) for this Pricing Rule -->
  90.             <element type="Contract" />
  91.  
  92.             <!--  The tier type for this pricing rule.  -->
  93.             <element type="TierTypeOptions" name="TierType"  />
  94.  
  95.             <!--  The tier lower bound.  -->
  96.             <element type="double" name="MinimumThreshold"  />
  97.  
  98.             <!--  The tier upper bound.  -->
  99.             <element type="double" name="MaximumThreshold"  />
  100.  
  101.             <!--  The tier markdown factor (e.g. for a 10% discount, tier price modifier = 0.9)  -->
  102.             <element type="double"        name="TierPriceModifier"  />
  103.  
  104.     </append>
  105.     </extends>
  106. </elementtype>
  107.  
  108.  
  109. </schema>
  110.